lst = [90, 89, 77, 99, 78, 66, 32, 100]
# 选择排序
for i in range(len(lst)):
    for n in range(i+1, len(lst)):
        if lst[i] > lst[n]:
            lst[i], lst[n] = lst[n], lst[i]

print(lst)




